package com.dongjiantong.quarantine.mapper;


import com.dongjiantong.mybatis.MyMapper;
import com.dongjiantong.quarantine.model.SupervisionRecordsSub;

import java.util.List;

public interface SupervisionRecordsSubMapper extends MyMapper<SupervisionRecordsSub> {

    /**
     * 查询督查的子标详情
     *
     * @param supervisionId 督查的主表id
     * @return SupervisionRecordsSub
     */
    List<SupervisionRecordsSub> findBySupervisionId(Long supervisionId);

    void deleteBySupervisionId(Long supervisionId);
}